package org.example.factory;

import org.example.entity.Tank;
import org.springframework.beans.factory.FactoryBean;

/**
 * org.example.factory
 *
 * @author 莫磊
 * @description
 * @date 2025/7/20
 */
public class TankFactory implements FactoryBean<Tank> {
    @Override
    public Tank getObject() throws Exception {
        return new Tank();
    }

    @Override
    public Class<?> getObjectType() {
        return Tank.class;
    }
}
